~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------Prisoners of War-----------
-----------------V1.0-----------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     A mod by The Immortal Wombat     
______________________________________

One thing I missed in CTP and CTP2 from Civ2 was the diplomat/spy ability to bribe enemy units to join your army.  To simulate this effect exactly would be very difficult to do, but I have been able to write some code that enables the player to capture enemy units in battle, and force them to fight for you. 

======================================
Effects:
======================================

To capture units in battle, stack a slaver with your army, which will enable the capture code to work. 
The capturing takes place right at the end of the battle, because during testing I had found a way to attack and retreat with loads of different units, suffer few casualties, and double my army size... (This no longer works).  Due to the difficulties in collecting equipment and materials, once you have captured the enemy soldiers, you are given a choice of how they should be incoporated into your army. All the choices are basically infantry units.

|==========================================================|
|Age (approx)   ||  Units            ||  Advances Needed   |
|==========================================================|
|               ||		     || 		   |
|Early          ||  Warrior          || Bronze Working     |
|  Ancient      ||  Hoplite          || Ballistics         |
|               ||  Archer           ||                    |
|_______________||___________________||____________________|
|               ||                   ||                    |
|Late           ||  Pikeman          || Feudalism          |  
|   Ancient     ||  Samurai          || Iron Working       |  
|               ||  Archer           ||                    |  
|_______________||___________________||____________________|  
|               ||                   ||                    |  
|Late           ||  Pikeman          || Gunpowder          |
| Rennaissance  ||  Infantryman      || Industrial Rev.    |
|               ||  Machine Gunner   ||                    |
|_______________||___________________||____________________|
|               ||                   ||                    |
|Late           ||  Machine Gunner   || Genetics           |
|  Modern       ||  Marine           || Adv. Inf. Tactics  |
|               ||  Paratrooper      ||                    |
|_______________||___________________||____________________|
|               ||                   ||                    |
|Late           ||  Marine           || Plasma Weaponry    |
|   Genetic     ||  Paratrooper      || Chaos Theory       |
|               ||  Hover Infantry   ||                    |
|               ||                   ||                    |
|==========================================================|
 
             
If you wish to add a separate unit to make this attack work, instead of the slaver, this is how:
Add it into the neccessary files, then find out which unit number it is. (In units.txt, the game units have numbers at the top of their name, find the bottom one, and coutn down until you get to your capturing unit.) Then in scenario.slc, find the line "if(tmpNum2 == 54){" and change 54 to your unit's number.


======================================
Legal, Credits, yadda yadda yadda...
======================================

Thanks to:
Mark G and Dan Q: for Apolyton CS
Locutus: for being a SLIC genius

=======================================

I hope this code works well for you.

Feel free to include it in any mods/scenarios you make, as long as you credit me.

Comments, criticisms, suggestions, ideas, anything else :
Email me - weaver1@tinyworld.co.uk

Or post at the CTP2 scenarios forum at http://apolyton.net/forums

-Ben Weaver  (June 2001)
-aka The Immortal Wombat

========================================



